@import './reset.scss';

:root {
  --primary-color: royalblue;
  --jx-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);
}


.custom-scrollbar::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 5px;

  /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  background: #d3d3d3;
}

.custom-scrollbar::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  border-radius: 10px;
}


.button1 {
  padding: .3em .8em;
  border: 1px solid rgba(0, 0, 0, .1);
  background: var(--primary-color) linear-gradient(rgba(255, 255, 255, 0.2), transparent);
  border-radius: .2em;
  box-shadow: 0 .05em .25em rgba(0, 0, 0, .5);
  color: white;
  text-shadow: 0 -.05em .05em rgba(0, 0, 0, .5);
  font-size: 125%;
  line-height: 1.5;
}

.button {
  position: relative;
  padding: 5px 16px;
  color: #000000d9;
  border: 1px solid #d9d9d9;
  background-color: transparent;
  border-radius: 2px;
  line-height: 1.4;
  box-shadow: 0 2px #00000004;
  cursor: pointer;
  transition: 0.3s;
}

.button:hover {
  color: var(--primary-color);
  border-color: currentColor;
}

.button::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  box-shadow: 0 0 0 6px var(--primary-color);
  transition: 0.3s;
}

.button:active::after {
  opacity: 0.6;
  transition: 0s;
  box-shadow: none;
}